<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
<link rel="stylesheet" href="__PUBLIC__/css/admin.css">
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/pintuer.js"></script>
<style>
/* .input{width:50%;} */
.txtshow{height:30px;margin-top: 8px;float:left;}
.content{margin-top: 8px;float:left;width:50%;line-height: 25px;}
.form-group {padding-bottom: 0px;}
</style>
</head>
<body>
<div class="panel admin-panel margin-top">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>回复留言</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="{:U('Admin/Gbook/edit')}">
    <input type="hidden" name="id" value="{$data.id}">
    <div class="form-group">
        <div class="label">
          <label>标题：</label>
        </div>
        <div class="field">
          <div class="txtshow">{$data.title}</div>
        </div>
    </div>
    <div class="form-group">
        <div class="label">
          <label>姓名：</label>
        </div>
        <div class="field">
          <div class="txtshow">{$data.name}</div>
         <div class="label">
          <label>电话：</label>
         </div>
          <div class="txtshow">{$data.phone}</div>
        </div>
    </div> 
    <div class="form-group">
        <div class="label">
          <label>邮箱：</label>
        </div>
        <div class="field">
          <div class="txtshow">{$data.email}</div>
         <div class="label">
          <label>QQ：</label>
         </div>
          <div class="txtshow">{$data.qq}</div>
        </div>
    </div> 
    <div class="form-group">
        <div class="label">
          <label>内容：</label>
        </div>
        <div class="field">
          <div class="content">{$data.content}</div>
        </div>
    </div>
    <div class="form-group">
        <div class="label">
          <label>时间：</label>
        </div>
        <div class="field">
          <div class="txtshow">{$data.dateline|date="Y-m-d",###}</div>
        </div>
    </div>  
    
      <div class="form-group">
        <div class="label">
          <label>回复：</label>
        </div>
        <div class="field">
          <textarea type="text" class="input" style="width:50%;height:130px;" name="reply">{$data.reply}</textarea>
        </div>
      </div>
      
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
<script>
$("#parent").val("{$data.parent_id}");
</script>
</body></html>